//
// Decompiled by Jadx - 348ms
//
package me.plusne.common.Json.Soul;

import java.io.Serializable;

public class BotJson implements Serializable {
    private DataBean data;
    private String message;

    public boolean canEqual(Object obj) {
        return obj instanceof BotJson;
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof BotJson)) {
            return false;
        }
        BotJson botJson = (BotJson) obj;
        if (!botJson.canEqual(this)) {
            return false;
        }
        String message = getMessage();
        String message2 = botJson.getMessage();
        if (message != null ? !message.equals(message2) : message2 != null) {
            return false;
        }
        DataBean data = getData();
        DataBean data2 = botJson.getData();
        return data != null ? data.equals(data2) : data2 == null;
    }

    public DataBean getData() {
        return this.data;
    }

    public String getMessage() {
        return this.message;
    }

    public int hashCode() {
        String message = getMessage();
        int hashCode = message == null ? 43 : message.hashCode();
        DataBean data = getData();
        return ((hashCode + 59) * 59) + (data != null ? data.hashCode() : 43);
    }

    public void setData(DataBean dataBean) {
        this.data = dataBean;
    }

    public void setMessage(String str) {
        this.message = str;
    }

    public String toString() {
        return "BotJson(message=" + getMessage() + ", data=" + getData() + ")";
    }

    public static class DataBean implements Serializable {
        private InfoBean info;
        private int type;

        public boolean canEqual(Object obj) {
            return obj instanceof DataBean;
        }

        public boolean equals(Object obj) {
            if (obj == this) {
                return true;
            }
            if (!(obj instanceof DataBean)) {
                return false;
            }
            DataBean DataBean = (DataBean) obj;
            if (!DataBean.canEqual(this) || getType() != DataBean.getType()) {
                return false;
            }
            InfoBean info = getInfo();
            InfoBean info2 = DataBean.getInfo();
            return info != null ? info.equals(info2) : info2 == null;
        }

        public InfoBean getInfo() {
            return this.info;
        }

        public int getType() {
            return this.type;
        }

        public int hashCode() {
            int type = getType() + 59;
            InfoBean info = getInfo();
            return (type * 59) + (info == null ? 43 : info.hashCode());
        }

        public void setInfo(InfoBean infoBean) {
            this.info = infoBean;
        }

        public void setType(int i) {
            this.type = i;
        }

        public String toString() {
            return "BotJson.DataBean(type=" + getType() + ", info=" + getInfo() + ")";
        }

        public static class InfoBean implements Serializable {
            private String text;

            public boolean canEqual(Object obj) {
                return obj instanceof InfoBean;
            }

            public boolean equals(Object obj) {
                if (obj == this) {
                    return true;
                }
                if (!(obj instanceof InfoBean)) {
                    return false;
                }
                InfoBean InfoBean = (InfoBean) obj;
                if (!InfoBean.canEqual(this)) {
                    return false;
                }
                String text = getText();
                String text2 = InfoBean.getText();
                return text != null ? text.equals(text2) : text2 == null;
            }

            public String getText() {
                return this.text;
            }

            public int hashCode() {
                String text = getText();
                return 59 + (text == null ? 43 : text.hashCode());
            }

            public void setText(String str) {
                this.text = str;
            }

            public String toString() {
                return "BotJson.DataBean.InfoBean(text=" + getText() + ")";
            }
        }

    }
}
